{%extends "basecreate.html"%}

    {%block refresh%}{%endblock%}

    {%block title%}
    <title>创建论坛</title>
    {%endblock%}

    {%block style%}
    <style>
        #cardc{

            background-size: cover;
            background-repeat: no-repeat;
            background-image: url({{url_for("static",filename="img/85890.jpg")}});
            
        }

        body{
            background-color:cornsilk;
        }


        textarea{
            width: 100%;
            height: 600px;
            opacity: 0.9;
        }


    </style>
    {%endblock%}


    {%block header%}
        <h1>创建论坛</h1>
    {%endblock%}

    {%block leftcolumn%}{%endblock%}


    {%block midcolumn%}
            <form action="" method="post">
                <div class="card">
                <input type="hidden" name="csrf_token" value="{{ csrf_token() }}"/>
                {{form.fo_name.label}}
                <br>
                {{form.fo_name(placeholder="最长20个字符",style="width:100%;")}}
                <br>
                </div><br>
                <div class="card" >
                {{form.fo_descr.label}}
                </div>
                <div class="card" id="cardc">
                {{form.fo_descr}}
                </div><br>
                {{form.submit}}
                <br>
            </form>
    {%endblock%}

    {%block rightcolumn%}{%endblock%}


    {%block footer%}
        <a href={{url_for("root.index")}} style="text-decoration: none;"> <p style="text-align: center;">返回目录</p></a>
    {%endblock%}
